//
// Created by wkm on 2024-04-17.
//

#include "x4time_driver.h"

void x4time_driver::prc_x4time_driver() {
    d_input_data.write(0x1F);
    d_reset.write(true);
    wait();
    d_reset.write(false);
    wait();
    wait();
    wait();
    wait();
    d_start.write(true);
    wait();
    wait();
    d_start.write(false);
    wait();
    wait();
    wait();
    wait();
    wait();
    wait();
    d_input_data.write(0x62);
    d_reset.write(true);
    wait();
    d_reset.write(false);
    wait();
    wait();
    d_start.write(true);
    wait();
    wait();
    wait();
    wait();
    wait();
    wait();
    wait();
    wait();
    wait();
    sc_stop();
}